package indi.kider.server.employee.mapper;

import indi.kider.common.model.apabus.Rent;
import indi.kider.common.model.employee.Tenant;
import indi.kider.common.model.employee.TenantQuery;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface TenantMapper extends Mapper<Tenant> {

   Rent getTanantRent(Tenant tenant);

   void updateTanantRent(Rent rent);

   List<Map>getTenantList(TenantQuery tenantQuery);

   List<Map>getErrInfoList(TenantQuery tenantQuery);

   List<Map>getTenantPartList(TenantQuery tenantQuery);

   List<Map>getPartHouseList(TenantQuery tenantQuery);

   List<Map>getTenantListByHouseId(Rent rent);

   Tenant getTenantInfoForLogin(Tenant tenant);
   /**
    * 得到用户密码卡指纹信息列表
    * @return
    */
   List<Map> getTenantPwdCardFgList();

}